<template>
    <div class="siteLeft">
        <div class="title">
			<a href="javascript:;" @click="homeClick"><p><img src="../../../assets/img/siteTop/left.png" width="40">后台管理系统</p></a>
		</div>
    </div>
</template>

<script>
export default {
    name:'siteLeft',
    methods:{
        homeClick(){
            if(this.$route.path != '/Admin/home'){
                this.$router.replace('/Admin/home')
            }
            
        }
        

    }
}
</script>

<style scoped>
.navBar .title{
    padding-left: 15px;
}
.title a{
    color: #5D5D5D;
}
.title p{
    font-size: 25px;
    font-weight: bold;
    height: 100%;
    line-height: 80px;
}
.title p img{
   float: left;
   margin-top: 20px;
}
</style>